DescribeForwardTableEntries
Description
call the DescribeForwardTableEntries interface to query the created DNAT entry.
Request Method
POST
Request Path
/apsara/route/Vpc/DescribeForwardTableEntries
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| ExternalPort | BODY | string | No | 8080 | public network port. Value range:1~65535. |
| PageSize | BODY | integer | No | 10 | The number of rows per page during paging query, the maximum value is 50, the default value is 10. |
| version | BODY | string | No | 2016-01-01 | version of api |
| ForwardTableId | BODY | string | Yes | ftb-bp1mbjubq34hlcqpa**** | DNAT list ID. |
| ExternalIp | BODY | string | No | 116.XX.XX.28 | public IP address. |
| ForwardEntryId | BODY | string | No | fwd-8vbn3bc8roygjp0gy**** | DNAT entry ID assigned by the system. |
| PageNumber | BODY | integer | No | 1 | page number of the list, the default value is 1. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| IpProtocol | BODY | string | No | TCP | protocol type. Value: TCP: Forwarding TCP protocol messages. UDP: Forwarding UDP protocol messages. Any: forward messages of all protocols. |
| RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface. |
| InternalPort | BODY | string | No | 80 | target private network port. Value range:1~65535. |
| ForwardEntryName | BODY | string | No | ForwardEntry-1 | DNAT rule name. The length is 2-128 characters and must start with a letter or Chinese, but cannot be http:// or https:// start. |
| InternalIp | BODY | string | No | 192.XX.XX. 1 | target private network IP. |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}